package com.yitiao.designmodel.struct.facade;

public class MainTest {
    public static void main(String[] args) {
        // 建造者模式
        Goods iPhone13 = Goods.builder()
                .name("IPhone13")
                .price(599999)
                .build();
        // 外观模式
        FacadeService facadeService = new FacadeService();
        facadeService.order(iPhone13);

    }
}
